package com.nf.dao;

import com.nf.entity.deptEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface deptDao {
  // @Select("select * from dept where id=3")
    deptEntity getById();

    List<deptEntity> getAll(int pageNum,int pageSize);
}
